@import '~antd/lib/style/themes/default.less';
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
.logo {
  height: 64px;
  position: relative;
  line-height: 64px;
  padding-left: 15px;
  transition: all 0.3s;
  background: #002140;
  cursor: pointer;
  overflow: hidden;
  img {
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 100px;
  }
  h1 {
    color: white;
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
    margin: 0 0 0 12px;
    font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: 600;
  }
}

.sider {
  //min-height: 100vh;
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  position: relative;
  z-index: 10;
  background: url('../../../public/images/bg.png') no-repeat #00adcb;
  background-size: cover;
  &.ligth {
    background-color: white;
    .logo {
      background: white;
      h1 {
        color: #002140;
      }
    }
  }
}

.icon {
  width: 28px;
  margin-right: 10px;
  cursor: pointer;
}

:global {
  .drawer .drawer-content {
    background: #001529;
  }
  .ant-menu-inline-collapsed {
    & > .ant-menu-item .sider-menu-item-img + span,
    &
      > .ant-menu-item-group
      > .ant-menu-item-group-list
      > .ant-menu-item
      .sider-menu-item-img
      + span,
    & > .ant-menu-submenu > .ant-menu-submenu-title .sider-menu-item-img + span {
      max-width: 0;
      display: inline-block;
      opacity: 0;
    }
  }
  .ant-menu-item .sider-menu-item-img + span,
  .ant-menu-submenu-title .sider-menu-item-img + span {
    transition: opacity 0.3s @ease-in-out, width 0.3s @ease-in-out;
    opacity: 1;
  }
  .ant-menu-dark {
    background: transparent;
  }
}
:global {
  .ant-menu-item {
    padding-left: 20px !important;
    margin-bottom: 20px !important;
  }
  .ant-badge-count {
    min-width: 18px;
    height: 18px;
    line-height: 18px;
  }
  .ant-menu-item-selected {
    background: transparent !important;
  }
  .ant-modal-content {
    -webkit-app-region: no-drag !important;
  }
  .ant-menu-item-active {
    background: #d2f1f6 !important;
  }
}
.szMenu {
  width: 200px;
  height: 220px;
  position: absolute;
  top: -10px;
  left: 35px;
  z-index: 999;
  border-radius: 4px;
  box-shadow: 0 0 10px #c0c0c0 !important;
  -webkit-app-region: no-drag !important;
}
.nameMenu {
  font-size: 18px !important;
  margin: 8px 0 !important;
  color: #343434;
  font-weight: 600;
  cursor: default;
  &:hover {
    color: #343434;
    background: none;
  }
}
.MenuListMargin {
  margin: 6px 0 !important;
  color: #343434;
  position: relative;
  &:hover {
    background: transparent;
    margin: 6px 0 !important;
    color: #00adcb;
    text-decoration: underline;
  }
  &:last-child {
    &:hover {
      background: transparent;
      margin: 6px 0 !important;
      color: #343434;
      text-decoration: none;
    }
  }
}
//.changePwd {
//  margin: 6px 0 !important;
//  color: #00adcb;
//  text-decoration: underline;
//  &:hover {
//    color: #00adcb;
//    background: none;
//  }
//}
.showMenu {
  display: block;
}
.hideMenu {
  display: none;
}
.badgeStyle {
  position: absolute;
  left: 35px;
  top: 84px;
  z-index: 99;
}
.itemStyle {
  height: 50px !important;
  line-height: 48px !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}
.itemClick {
  background: #d2f1f6;
  height: 50px !important;
  line-height: 48px !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}
.logoVersion {
  text-align: center;
  position: relative;
  top: 0px;
  left: -99px;
  margin-left: 50%;
}
.btnVersion {
  text-align: center;
  position: relative;
  top: 0px;
  left: -43px;
  margin: 20px 0 20px 50% !important;
}
.bbgx {
  height: 200px;
  overflow-y: scroll;
  font-size: 12px;
  color: #666;
  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 50px;
    //-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    background: rgba(0, 0, 0, 0.2);
  }
  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    background: transparent;
  }
}
.PickerBtn {
  width: 115px;
  float: right;
  margin: 16px 0 0;
  :global {
    .ant-btn {
      height: 24px !important;
      padding: 0 8px !important;
      margin-left: 8px !important;
    }
  }
}
.newsV {
  width: 10px;
  height: 10px;
  background: #f00;
  border-radius: 10px;
  position: absolute;
  right: 12px;
  top: 15px;
  z-index: 99;
}
.logoVersionLeft {
  width: 150px;
  float: left;
  margin-left: 20px;
}
.Versiontil {
  font-size: 18px;
  color: #333;
  float: left;
  margin-left: 20px;
  margin-top: 13px;
  margin-bottom: 40px;
}
.loadingModal {
  overflow: hidden;
  height: 157px !important;
}
.boxload {
  margin: 35px 0 0 30px;
  font-size: 14px;
  color: #999;
}
:global {
  .ant-progress-success-bg,
  .ant-progress-bg {
    background: #1bb7d2 !important;
  }
  .ant-progress-show-info .ant-progress-outer {
    padding-right: calc(40px + 8px);
    margin-right: calc(-40px - 8px);
  }
  .ant-progress-text {
    width: 40px;
  }
  .ant-progress-circle.ant-progress-status-success .ant-progress-text {
    color: #1bb7d2;
  }
  .ant-progress-status-success .ant-progress-circle-path {
    stroke: #1bb7d2;
  }
  .ant-progress-circle-path {
    stroke: #1bb7d2;
  }
}
.proClose {
  position: absolute;
  top: 6px;
  right: 10px;
}
.iconPro {
  border-radius: 10px;
  color: #fff;
  margin: 0 5px;
  font-size: 12px;
  padding: 1px;
  cursor: pointer;
}
.water {
  width: 60px;
  display: inline-block;
  position: fixed;
  -webkit-transform-origin: left;
  transform-origin: left;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  cursor: pointer;
  border-radius: 200px;
}
.none {
  display: none;
}
.waterNone {
  width: 60px;
  position: fixed;
  -webkit-transform-origin: left;
  transform-origin: left;
  bottom: 20px;
  right: 30px;
  border-radius: 100px;
  display: inline-block;
  opacity: 0;
}
